package cs575.wido.action;

import java.awt.event.ActionEvent;

import javax.swing.AbstractAction;

import cs575.wido.ui.InvitationWindow;

public class AddMemberAction extends AbstractAction {
	public InvitationWindow parent;
	
	public AddMemberAction(InvitationWindow parent) {
		putValue(NAME, "OK");
		this.parent = parent;
	}

	@Override
	public void actionPerformed(ActionEvent arg0) {
		// TODO add new member to group
		this.parent.dispose();
	}

}
